Skip to content

gh-146318: Document that signal.SIGSTOP is unix-only#146319

Merged
vstinner merged 2 commits intopython:mainfrom
jonathandung:patch-1
Mar 26, 2026
Merged

gh-146318: Document that signal.SIGSTOP is unix-only#146319
vstinner merged 2 commits intopython:mainfrom
jonathandung:patch-1

Conversation

@jonathandung
Copy link
Contributor

@jonathandung jonathandung commented Mar 23, 2026

Closes #146318.

Edited the .rst source of the page documenting the signal module here to point out that SIGSTOP does not exist on Windows, and thus the signal.SIGSTOP constant is not present, which is correctly annotated in the typeshed stubs.


📚 Documentation preview 📚: https://cpython-previews--146319.org.readthedocs.build/

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I confirm that signal.SIGSTOP is not available on Windows.

@vstinner vstinner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Mar 26, 2026
@vstinner vstinner merged commit e44993a into python:main Mar 26, 2026
37 checks passed
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Mar 26, 2026
@miss-islington-app
Copy link

Thanks @jonathandung for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 26, 2026
…146319)

(cherry picked from commit e44993a6654de99018404960f816e57797511675)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 26, 2026

GH-146468 is a backport of this pull request to the 3.14 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 26, 2026
…146319)

(cherry picked from commit e44993a)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 26, 2026
@bedevere-app
Copy link

bedevere-app bot commented Mar 26, 2026

GH-146469 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Mar 26, 2026
vstinner pushed a commit that referenced this pull request Mar 26, 2026
… (#146468)

gh-146318: Document that signal.SIGSTOP is Unix-only (GH-146319)
(cherry picked from commit e44993a)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
vstinner pushed a commit that referenced this pull request Mar 26, 2026
… (#146469)

gh-146318: Document that signal.SIGSTOP is Unix-only (GH-146319)
(cherry picked from commit e44993a)

Co-authored-by: Jonathan Dung <jonathandung@yahoo.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Mark signal.[Signals.]SIGSTOP as unavailable on Windows

2 participants